package team.zero.lemon.module.workflow.entity;

import java.util.Date;
import java.util.UUID;

import team.zero.lemon.common.persistence.DataEntity;

public class Rule extends DataEntity {

    private Integer templateId;
    private String ruleName;
    private String coordinate;
    private String expression;
    private Integer fromActivityId;
    private Integer toActivityId;
    private Integer ruleType;
    private Integer lineType;
    private UUID fromGuid;
    private UUID toGuid;
    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public Integer getFromActivityId() {
        return fromActivityId;
    }

    public void setFromActivityId(Integer fromActivityId) {
        this.fromActivityId = fromActivityId;
    }

    public Integer getToActivityId() {
        return toActivityId;
    }

    public void setToActivityId(Integer toActivityId) {
        this.toActivityId = toActivityId;
    }

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public Integer getLineType() {
        return lineType;
    }

    public void setLineType(Integer lineType) {
        this.lineType = lineType;
    }

    public UUID getFromGuid() {
        return fromGuid;
    }

    public void setFromGuid(UUID fromGuid) {
        this.fromGuid = fromGuid;
    }

    public UUID getToGuid() {
        return toGuid;
    }

    public void setToGuid(UUID toGuid) {
        this.toGuid = toGuid;
    }

    private UUID templateGuid;

    public UUID getTemplateGuid() {
        return templateGuid;
    }

    public void setTemplateGuid(UUID templateGuid) {
        this.templateGuid = templateGuid;
    }
}